﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowArmory.Character.Sheet

    ''' <summary>
    ''' A class that encapsulates weapon stats
    ''' </summary>
    ''' <remarks></remarks>
    Public Class WeaponStats

        ''' <summary>
        ''' The average damage per second done by this weapon
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property DPS As Double

        ''' <summary>
        ''' The maximum damage done by this weapon in one swing
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Max As Integer

        ''' <summary>
        ''' The minimum damage done by this weapon in one swing
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Min As Integer

        ''' <summary>
        ''' An unknown value tracked in the Armory
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Percent As Integer

        ''' <summary>
        ''' The speed of the weapon in seconds per swing
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Speed As Double

        ''' <summary>
        ''' The haste percent applied to this weapon
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property HastePercent As Double

        ''' <summary>
        ''' The haste rating applied to this weapon
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property HasteRating As Integer

        ''' <summary>
        ''' A constructor to create new weapon information
        ''' </summary>
        ''' <param name="dblDPS"></param>
        ''' <param name="intMax"></param>
        ''' <param name="intMin"></param>
        ''' <param name="intPercent"></param>
        ''' <param name="dblSpeed"></param>
        ''' <param name="dblHastePercent"></param>
        ''' <param name="intHasteRating"></param>
        ''' <remarks></remarks>
        Public Sub New(ByVal dblDPS As Double, ByVal intMax As Integer, ByVal intMin As Integer, ByVal intPercent As Integer, ByVal dblSpeed As Double, ByVal dblHastePercent As Double, ByVal intHasteRating As Integer)
            DPS = dblDPS
            Max = intMax
            Min = intMin
            Percent = intPercent
            Speed = dblSpeed
            HastePercent = dblHastePercent
            HasteRating = intHasteRating
        End Sub

    End Class

End Namespace
